<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cpu_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-cpu_name" data-rule="required" class="form-control" name="row[cpu_name]" type="text" value="{$row.cpu_name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Brand')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-brand" data-rule="required" class="form-control selectpicker" name="row[brand]">
                {foreach name="brandList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.brand"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Monokaryon_ranking')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-monokaryon_ranking" data-rule="required" class="form-control" name="row[monokaryon_ranking]" type="number" value="{$row.monokaryon_ranking|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Multinuclear_ranking')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-multinuclear_ranking" data-rule="required" class="form-control" name="row[multinuclear_ranking]" type="number" value="{$row.multinuclear_ranking|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Monokaryon')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-monokaryon" data-rule="required" class="form-control" name="row[monokaryon]" type="text" value="{$row.monokaryon|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Multinuclear')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-multinuclear" data-rule="required" class="form-control" name="row[multinuclear]" type="text" value="{$row.multinuclear|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Core_code')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-core_code" data-rule="required" class="form-control" name="row[core_code]" type="text" value="{$row.core_code|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Frequency')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-frequency" data-rule="required" class="form-control" name="row[frequency]" type="text" value="{$row.frequency|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Ruipin')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-ruipin" data-rule="required" class="form-control" name="row[ruipin]" type="text" value="{$row.ruipin|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Thread')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-thread" data-rule="required" class="form-control" name="row[thread]" type="text" value="{$row.thread|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cache')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-cache" data-rule="required" class="form-control" name="row[cache]" type="text" value="{$row.cache|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Process')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-process" data-rule="required" class="form-control" name="row[process]" type="text" value="{$row.process|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Tdp')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-tdp" data-rule="required" class="form-control" name="row[tdp]" type="text" value="{$row.tdp|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Socket')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-socket" data-rule="required" class="form-control" name="row[socket]" type="text" value="{$row.socket|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Release_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-release_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[release_time]" type="text" value="{$row.release_time}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Starting_price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-starting_price" data-rule="required" class="form-control" name="row[starting_price]" type="text" value="{$row.starting_price|htmlentities}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
